/**
 * Created by hasee on 2017/10/11.
 */
import React,{Component} from 'react';
import {
    AppRegistry,
    Text,
    Button
    } from 'react-native';

export default class ChatOne extends React.Component {
    static navigationOptions={
        title: '聊天',
        color: 'red'

    };
    _press = ()=>{
        console.log(this.props);
        this.props.navigation.goBack()
    };
    render() {
        return  <Button
            onPress={this._press}
            title="返回"
        />
    }
}